<?php // no direct access
defined('_JEXEC') or die('Restricted access');
?>
<div style="display: block;">
    <h1 class="headlocation">
        <?php echo $this->lists[0]->head_title ?>
    </h1>
</div>
<ul class="list_location">
<?php
foreach($this->lists as $list){
    echo '<li><a href="'.$list->link.'">'.$list->title.'</a></li>';
}
?>
</ul>